When Should You Use a Lock for Reading Static Variables in C